package com.koron.order.risk.base.bean.po;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.koron.bean.annocation.FillField;
import com.koron.order.risk.base.excel.RiskAutoConvertor;
import com.koron.order.risk.base.excel.RiskStringStringConvertor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 风险管控单-风险详情-违章建筑(LineRiskDetailBuilding)表实体类
 *
 * @author jzp
 * @since 2022-12-15
 */
@ExcelIgnoreUnannotated
@Data
@ApiModel(value="风险管控单-风险详情-违章建筑", description = "LineRiskDetailBuilding")
public class LineRiskDetailBuilding {

    /**
     * id
     */
    @FillField
    @ApiModelProperty("id")
    private String id;

    /**
     * 风险管控单id
     */
    @ApiModelProperty("风险管控单id")
    private String riskId;

    /**
     * 建筑情况
     */
    @ExcelProperty(index = 9)
    @ApiModelProperty("建筑情况")
    private String buildingSituation;

    /**
     * 建筑物类型
     */
    @ExcelProperty(index = 10, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("建筑物类型，building_type")
    private String buildingType;

    /**
     * 建筑数量(处)
     */
    @ExcelProperty(index = 11)
    @ApiModelProperty("建筑数量(处)")
    private Integer buildingAmount;

    /**
     * 建筑时间
     */
    @ExcelProperty(index = 12)
    @ApiModelProperty("建筑时间")
    private Date buildingTime;

    /**
     * 是否为可燃物材料屋顶
     */
    @ExcelProperty(index = 13, converter = RiskAutoConvertor.class)
    @ApiModelProperty("是否为可燃物材料屋顶")
    private Integer combustibleRoof;

    /**
     * 存在风险
     */
    @ExcelProperty(index = 14)
    @ApiModelProperty("存在风险")
    private String existRisk;

    /**
     * 危险等级
     */
    @ExcelProperty(index = 15, converter = RiskAutoConvertor.class)
    @ApiModelProperty("危险等级,risk_danger_level")
    private String riskLevel;

    /**
     * 遗留情况
     */
    @ExcelProperty(index = 16)
    @ApiModelProperty("遗留情况")
    private String legacySituation;

    /**
     * 业主单位（个人id）
     */
    @ApiModelProperty("业主单位（个人id）")
    private String ownerId;

    /**
     * 业主单位（个人名称）
     */
    @ApiModelProperty("业主单位（个人名称）")
    private String ownerName;

    /**
     * 联系方式
     */
    @ApiModelProperty("联系方式")
    private String ownerPhone;

    /**
     * 整改措施
     */
    @ExcelProperty(index = 17)
    @ApiModelProperty("整改措施")
    private String rectificationMeasures;

    /**
     * 备注
     */
    @ExcelProperty(index = 18)
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 创建时间
     */
    @FillField
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 创建人账号
     */
    @FillField
    @ApiModelProperty("创建人账号")
    private String createBy;

}

